package org.csu.petserver.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

@Data
@TableName("lineitem")
@Repository
public class LineItem {
    @MppMultiId//复合主键
    private Integer orderid;
    @MppMultiId//复合主键
    private Integer linenum;

    private String itemid;

    private Integer quantity;

    private BigDecimal unitprice;
}
